package com.zhora.dto.ai;

import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * ai文档-片段(ai_library_doc_segment)实体类
 *
 * @author zhehen.lu
 * @since 2025-09-25 11:15:49
 */
@Data
@Schema(name = "AiLibraryDocSegmentDTO", description = "ai文档-片段信息模型")
public class AiLibraryDocSegmentDTO {
    /**
     * ID
     */
    @Schema(description = "ID")
    private Long id;

    /**
     * 文档ID
     */
    @Schema(description = "文档ID")
    private Long docId;

    /**
     * 向量片段ID
     */
    @Schema(description = "向量片段ID")
    private String embeddingId;

    /**
     * 内容
     */
    @Schema(description = "内容")
    private String content;

    /**
     * token
     */
    @Schema(description = "token")
    private Integer tokenUsage;

    /**
     * 删除标记,true:已删除,false:正常
     */
    @Schema(description = "删除标记,true:已删除,false:正常")
    private Boolean delFlag;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private Date updateTime;

}

